package com.jgk.guice.basic.jed;

import com.google.inject.Guice;
import com.google.inject.Injector;

public class ExerciseGuice {
	public static void main(String[] args) {
		Injector injector = Guice.createInjector(new HillbillyModule());
		Injector testInjector = Guice.createInjector(new TestHillbillyModule());
		
		ClampettService cs = injector.getInstance(ClampettService.class);
		System.out.println(cs.getJed());
		System.out.println(testInjector.getInstance(ClampettService.class).getJed());
//	injector.getInstance(ClampettService.class);
		
	}
}
